package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 售后-帮助中心(AfterSalesHelp)表实体类
 *
 * @author yxy
 * @since 2024-10-22 19:23:09
 */
@Data
@ApiModel("售后-帮助中心")
@TableName(value = "tb_after_sales_help")
public class AfterSalesHelp extends Model<AfterSalesHelp> implements Serializable {
    private static final long serialVersionUID = 998205034856588437L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("问题")
    private String question;

    @ApiModelProperty("0为左侧大问题分类 ")
    private Integer pid;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("答案")
    private String answer;

    @ApiModelProperty("子数据")
    @TableField(exist = false)
    private List<AfterSalesHelp> list;
}
